from LeetCoder import *


class Solution:
    def countSeniors(self, details: List[str]) -> int:
        ans = 0
        for d in details:
            c = int(d[11])*10 +int(d[12])
            if c > 60:
                ans+=1
        return ans

s = Solution()
print(s.countSeniors(details = ["7868190130M7522","5303914400F9211","9273338290F4010"]))
